package cn.iocoder.yudao.module.of.enums;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;

public interface ErrorCodeConstantsOfTask {
    ErrorCode TASK_INFO_NOT_EXISTS = new ErrorCode(1_003_000_001, "任务不存在");

    ErrorCode TASK_FEEDBACK_NOT_EXISTS = new ErrorCode(1_003_000_002, "任务反馈-任务不存在");

    ErrorCode TASK_FEEDBACK_APPROVAL_NOT_EXISTS = new ErrorCode(1_003_000_002, "任务审核-任务不存在");

    ErrorCode TASK_FEEDBACK_APPROVAL_NO_PERMISSION = new ErrorCode(1_003_000_002, "无权审核此任务");

    ErrorCode TASK_FEEDBACK_APPROVAL_SUB_NOT_ALL = new ErrorCode(1_003_000_002, "任务审核-子任务为审核完毕");

    ErrorCode TASK_APPROVALS_NOT_EXISTS = new ErrorCode(1_003_000_003, "任务审批(下发)信息不存在");

    ErrorCode TASK_FEEDBACK_NOT_PERMISSION = new ErrorCode(1_003_000_004, "无反馈权限");

    ErrorCode SUB_TASK_NOT_ALL_FEEDBACK = new ErrorCode(1_003_000_005, "子任务全部反馈且二次确认后, 才可以反馈");

    ErrorCode TASK_NOT_FEEDBACK = new ErrorCode(1_003_000_005, "任务反馈后, 才可以审核");

    ErrorCode SUB_TASK_APPROVALS2_ONLY = new ErrorCode(1_003_000_006, "只能对子任务二次审核");

    ErrorCode TASK_APPROVAL_NOT_PERMISSION = new ErrorCode(1_003_000_007, "无审批权限");

    ErrorCode TASK_NOT_ALLOW_CREATE = new ErrorCode(1_003_000_008, "子公司不允许创建任务");

    ErrorCode TASK_APPROVAL_ERR = new ErrorCode(1_003_000_009, "任务审核异常");

    ErrorCode TASK_NO_APPROVAL_ERR = new ErrorCode(1_003_000_010, "任务暂未一次审核通过");

    ErrorCode TASK_APPROVAL2_ERR = new ErrorCode(1_003_000_011, "任务都审核过后才可以二次审核");

    ErrorCode ADD_TASK_INTERFACE_USER_NOT_PERMISSION = new ErrorCode(1_003_000_012, "您无权指派办理人");

    ErrorCode ADD_TASK_INTERFACE_USER_ERR = new ErrorCode(1_003_000_013, "添加任务办理人异常");
}
